const go/token.IMPORT
16 uses
go/token (current package)
token.go#L113: IMPORT
token.go#L219: IMPORT: "import",
go/ast
import.go#L19: if !ok || d.Tok != token.IMPORT {
import.go#L58: if decl, ok := decl.(*GenDecl); ok && decl.Tok == token.IMPORT {
go/doc
example.go#L58: if g, ok := decl.(*ast.GenDecl); ok && g.Tok != token.IMPORT {
example.go#L295: Tok: token.IMPORT,
reader.go#L576: case token.IMPORT:
go/format
format.go#L120: if !ok || d.Tok != token.IMPORT {
go/parser
parser.go#L429: token.IMPORT: true,
parser.go#L2827: case token.IMPORT:
parser.go#L2883: for p.tok == token.IMPORT {
parser.go#L2884: decls = append(decls, p.parseGenDecl(token.IMPORT, p.parseImportSpec))
parser.go#L2889: prev := token.IMPORT
parser.go#L2892: if p.tok == token.IMPORT && prev != token.IMPORT {
go/printer
printer.go#L742: if p.lastTok != token.IMPORT && // do not rewrite cgo's import "C" comments
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)